home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Apple Guide / Engineering / APISample / APISampleMPW / TDocument / TDocument.o.make < prev    next >
Encoding:
Text File  |  1992-08-29  |  2.1 KB  |  60 lines  |  [TEXT/MPS ]

  1. #------------------------------------------------------------------------------
  2. #
  3. #    TDocument
  4. #
  5. #    This file: TDocument.o.make    -    Make source
  6. #
  7. #    Copyright © 1988-1991 Apple Computer, Inc. & Öner M. Biçakçi 1991
  8. #    All rights reserved.
  9. #
  10. #
  11. #       TDocuments are objects that are associated with a window. Methods are
  12. #    provided to deal with update, activate, mouse-click, key down, and other events.
  13. #    Some additional classes which implement a linked list of TDocument objects are
  14. #    provided. 
  15. #   
  16. #        TDocument is an object class which models the basic needs of a document.
  17. #    Although it is not intended to be THE difinitive implementation of the 
  18. #    fundamental components of a document class, it may serve to provide a stepping
  19. #    stone in the creation of your own implementation. Additionally, TDocument 
  20. #    serves as the base class to create other document subclasses.
  21. #
  22. #        Note that this make file creates a library file, TDocument.o in the
  23. #    current directory. Therefore, changes made to this class will not propogate
  24. #    to other classes or applications. If and when any changes are made that should
  25. #    be made available to dependent files, simply COPY the TDocument.o file to the
  26. #    C++ library folder and COPY the TDocument.h file to the C++ Includes folder.
  27. #
  28. #       The TApplication and TDocument classes together define a basic framework
  29. #    for Mac applications, without having any specific knowledge about the type of
  30. #    data being displayed by the application's documents. They are a (very) crude
  31. #    implementation of the MacApp application model, without the sophisticated view
  32. #    heirarchies or any real error handling. 
  33. #
  34. #------------------------------------------------------------------------------
  35.  
  36.  
  37. Make            =    TDocument.o.make
  38.     
  39. LocalHeaders    =    TDocument.h
  40.  
  41. LocalSources    =    TDocument.cp
  42.  
  43. Compilation        =    TDocument.cp.o
  44.  
  45. Library            =    TDocument.o
  46.     
  47. # turn on/off SADE symbols as desired
  48. SymOpts = -sym off
  49.  
  50. # C++ options
  51. CPlusOptions = -mf {SymOpts}  
  52.  
  53. {Compilation} ƒƒ {LocalSources} {LocalHeaders} {Make}  
  54.     CPlus {LocalSources} -o {Compilation} {CPlusOptions}
  55.  
  56. # Save the compilation into its library
  57. {Library} ƒƒ {Make} {Compilation} 
  58.     Lib -o {Targ} {SymOpts} {Compilation}
  59.  
  60.